#include "uart_cmd.h"
#include "esp_spiffs.h"

#ifndef __SPIFFS_H
#define __SPIFFS_H

void spiffs_init(esp_vfs_spiffs_conf_t conf);
void spiffs_destroy(esp_vfs_spiffs_conf_t conf);
void Information_Write_One(Infomation_t* prevous,esp_vfs_spiffs_conf_t conf);
void Information_Write_All(Infomation_t* prevous,esp_vfs_spiffs_conf_t conf,uint16_t* ID);
uint8_t Information_Read(Infomation_t* previous,esp_vfs_spiffs_conf_t conf,uint16_t* ID);


#endif